import { Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
  selector: 'app-comp-center-panel',
  templateUrl: './comp-center-panel.component.html',
  styleUrls: ['./comp-center-panel.component.scss']
})
export class CompCenterPanelComponent {

  @Input() title = ""

  @Input() subtitle = ""

  @Input() panelData: Array<any> = []

  @Output() clickEvent = new EventEmitter<any>()

  clickButton(examId: any) {
    this.clickEvent.emit(examId)
  }
 
}
